package com.dxb.yomall.product.dao;

import com.dxb.yomall.product.entity.AttrEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
/**
 * 
 * 
 * @author daixinbao
 * @email 1065808217@qq.com
 * @date 2021-01-05 22:26:07
 */
@Mapper
public interface AttrDao extends BaseMapper<AttrEntity> {
    /**
     * 在指定的属性集合里面，查找出能够被检索的属性
     * @param attrIds
     * @return
     */
    List<Long> selectSearchAttrIds(@Param("attrIds") List<Long> attrIds);
}
